#include "..\System.h"

//+ boxing/unboxing
internal System_Object *___boxlong_(long_ value)
{
	System_Int64 *box = new(,System_Int64);
	box->m_value = value;
	return (System_Object *)box;
}

internal long_ ___unboxlong_(System_Object *value)
{
	return ((System_Int64 *)value)->m_value;
}

//+ type
Implement_Type(System_Int64,System_Object,)
Implement_DefaultCtor(System_Int64,System_Object)
System_Type _long_Type = { (__typeCtor)null, L"long_", (__typeBoxer)&___boxlong_, (__typeUnboxer)&___unboxlong_, (char*)default(long_), _TypeFlags_Value };
Declare_System(System_Int64, long_)
Implement_System(System_Int64, long_)
